<template>
	<view class="d-flex main-text-color line-h" :class="priceClass">
		<text class="a-self-start " :class="unitSize">¥</text> <slot></slot>
	</view>
</template>

<script>
	export default {
		props: {
			priceSize: {
				type: String,
				default: "font-md"
			},
			unitSize: {
				type: String,
				default: "font-sm"
			},
			color: {
				type: String,
				default: "main-text-color"
			}
		},
		
		computed: {
			priceClass() {
				return this.priceSize + ' ' + this.color
			}
		}
	}
</script>

<style>
</style>
